import request from '@/utils/request';

// 创建异常行李事故单
export async function createUnderchargeAccident(data) {
  return request('/luggage/h5/pkg/mobile/savePkgInfo', {
    method: 'post',
    data,
  })
}

// 修改异常行李事故单（包含作废）
export async function updateUnderchargeAccident(data) {
  return request('/luggage/pkg/updateAccident', {
    method: 'post',
    data,
  })
}

// PC端获取事故单完整详情
export async function getPkgAccidentDetail(params) {
  return request('/luggage/pkg/getPkgAccidentDetail', {
    method: 'get',
    params,
  })
}
